class UserInfo():
    __email=''
    __name=''
    __password=''
    __qq=''

    def __init__(self,name,email,password,qq):
        self.__email=email
        self.__name=name
        self.__password=password
        self.__qq=qq

    def __str__(self):
        return "员工{}的基本信息：电子邮件({}),密码({}),QQ号({})。".format(self.__name,self.__email,self.__password,self.__qq)


def main():
    info=eval(open('json.txt',"rt").read())
    userInfoList=[]
    for i in info:
        user=UserInfo(i.get('name'),i.get('email'),i.get('password'),i.get('qq'))
        userInfoList.append(user)

    for i in userInfoList:
        print(i)


main()